package com.gitee.zhangchenyan.takin.auth;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Deacription 登录成功返回对象
 * @Author zl
 * @Date 2021/12/9 9:23
 * @Version 1.0
 **/
@Data
public class AuthUserIdentity {
    public AuthUserIdentity(String tokenName, String tokenValue, LocalDateTime absoluteExpirationTime) {
        this.tokenName = tokenName;
        this.tokenValue = tokenValue;
        this.absoluteExpirationTime = absoluteExpirationTime;
    }
    private String tokenName;
    private String tokenValue;
    private LocalDateTime absoluteExpirationTime;
}
